sizerequestcache: Make code an array
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Nov 2012 00:35:38 +0000 (01:35 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 14 Nov 2012 00:55:29 +0000 (01:55 +0100)
commit43fc428cf0283e08725e3919ca599a73cc85557b
tree2647c24897a7feb27a93eebce247ae1e94c9ecc1
parent70ba973d1d9e14ab8b5d8dd528fef8b4580a6be7
sizerequestcache: Make code an array

We can use orientation as the index into an array. That way we can
delete half the code. Do it for the base request first in this patch.
gtk/gtksizerequestcache.c
gtk/gtksizerequestcacheprivate.h